package com.sf.sms.software.entity;

import com.sf.sms.utils.IdEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 软件对象
 * Created by zhagnbo 01084074 on 2016/8/25.
 */
public class Software extends IdEntity implements Serializable {

    private static final long serialVersionUID = -3474741242866202755L;

    /**软件名称*/
    private String name;
    /**软件类型（软件类型的主键id，逻辑上的外键）*/
    private Long categoryId;
    /**软件图标（路径）*/
    private String icon;
    /**软件大小*/
    private String size;
    /**软件描述*/
    private String description;
    /**软件下载地址*/
    private String downloadUrl;

    private String remoteDownloadUrl;

    private String isFree;

    private String creator;
    private String isDelete;

    private String status;

    /**创建时间*/
    private Date createTime;
    /**修改时间*/
    private Date modifyTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public String getRemoteDownloadUrl() {
        return remoteDownloadUrl;
    }

    public void setRemoteDownloadUrl(String remoteDownloadUrl) {
        this.remoteDownloadUrl = remoteDownloadUrl;
    }

    public String getIsFree() {
        return isFree;
    }

    public void setIsFree(String isFree) {
        this.isFree = isFree;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getCategoryId() {

        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }
}
